package com.rent.auth.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author zn
 * @since 2025-01-17
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("company")
@ApiModel(value = "Company对象", description = "Company")
public class Company implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("公司名称")
    @TableField("name")
    private String name;

    @ApiModelProperty("公司英文名")
    @TableField("name_eng")
    private String nameEng;

    @ApiModelProperty("联系人")
    @TableField("linkman")
    private String linkman;

    @ApiModelProperty("联系电话")
    @TableField("tel")
    private String tel;

    @ApiModelProperty("地址")
    @TableField("address")
    private String address;

    @ApiModelProperty("邮箱")
    @TableField("email")
    private String email;

    @ApiModelProperty("传真")
    @TableField("fax")
    private String fax;

    @ApiModelProperty("公司图标")
    @TableField("logo")
    private String logo;

    @ApiModelProperty("营业执照")
    @TableField("busines_license")
    private String businesLicense;

    @ApiModelProperty("公司网址")
    @TableField("website")
    private String website;

    @ApiModelProperty("公司简介")
    @TableField("intro")
    private String intro;

    @ApiModelProperty("状态(0.停用1.启用)")
    @TableField("status")
    private Integer status;

    @ApiModelProperty("最大代理数")
    @TableField("max_member")
    private Integer maxMember;

    @ApiModelProperty("有效期")
    @TableField("indate")
    private Date indate;

    @ApiModelProperty("创建日期")
    @TableField("create_time")
    private Date createTime;
}
